package com.qp.basics.estivate.jdbc.dao;

import java.beans.PropertyDescriptor;
import java.lang.annotation.Annotation;

/**
 * 属性影射情况。
 * 
 * @author Ma PengJu
 *
 */
public class PropertyMapping {

	/**
	 * 该属性的描述。
	 */
	private PropertyDescriptor propertyDescriptor;
	/**
	 * 对应字段的信息。
	 */
	private DatabaseField databaseField;
	/**
	 * 对应的annotation。
	 */
	private Annotation[] annotations;

	public PropertyDescriptor getPropertyDescriptor() {
		return propertyDescriptor;
	}

	public void setPropertyDescriptor(PropertyDescriptor propertyDescriptor) {
		this.propertyDescriptor = propertyDescriptor;
	}

	public DatabaseField getDatabaseField() {
		return databaseField;
	}

	public void setDatabaseField(DatabaseField databaseField) {
		this.databaseField = databaseField;
	}

	public Annotation[] getAnnotations() {
		return annotations;
	}

	public void setAnnotations(Annotation[] annotations) {
		this.annotations = annotations;
	}

}
